import Vue from 'vue';
import VueRouter from 'vue-router';
import CampusBinhai from '../components/CampusBinhai.vue';
import CampusChashan from '../components/CampusChashan.vue';
import CampusYueqing from '../components/CampusYueqing.vue';
import LoginComponent from '../components/LoginComponent.vue';
import StudentSystem from '../components/StudentSystem.vue';


Vue.use(VueRouter);

const router = new VueRouter({
  routes: [
    { path: '/', component: CampusBinhai },
    { path: '/chashan', component: CampusChashan },
    { path: '/yueqing', component: CampusYueqing },
    { path: '/login', component: LoginComponent },
    { 
      path: '/studentSystem', 

      component: StudentSystem 
    }
  ]
});

export default router;